package com.gjs.management.config;

import com.gjs.common.manager.storage.AliyunOss;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class AliyunOssConfig {

    @Bean
    @ConfigurationProperties(prefix = "aliyun.oss")
    public AliyunOss aliyunOss(){
        return new AliyunOss();
    }
}
